package com.masterclient.app.businessmodule.minemodule.withdraw.contract;

import com.eoner.baselib.presenter.FCBasePresenter;
import com.eoner.baselib.presenter.IFCBaseView;
import com.masterclient.app.businessmodule.settingmodule.bankcard.bean.NewBankCardBean;

/**
 * 作者：sean
 * 创建时间：2017/10/17 11:16
 * 功能说明：
 */

public interface GainCashContract {

    interface View extends IFCBaseView {
        void applySuccess(String message);
        void applyFailed(String msg);
        void getCaptchaSuccess();
        void getCaptchaFailed();
        void getCaptchaFailed(String msg);

        void getBankCardFail(String msg);
        void showBankCard(NewBankCardBean data);
    }

    abstract static class Presenter extends FCBasePresenter<View> {

        public abstract void balanceCashAdd(String bank_card_id, String amount, String captcha,String check_status);

        public abstract void getCaptcha(String mobile,String type,String ne,boolean isShowLoading);

        public abstract void getBankCard();
    }
}